﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZQNB.Web.Common.Helpers
{
    public class DatabaseConfigHelper : IDatabaseConfigHelper
    {
        public string GetDbName()
        {
            throw new NotImplementedException();
        }

        public bool GetRecreateDb()
        {
            throw new NotImplementedException();
        }
    }

    public interface IDatabaseConfigHelper
    {
        /// <summary>
        /// 默认数据库的名称
        /// </summary>
        /// <returns></returns>
        string GetDbName();

        /// <summary>
        /// 是否重新创建数据库
        /// </summary>
        /// <returns></returns>
        bool GetRecreateDb();
    }
}
